#include <iostream>

void my_print()
{
    std::cout<<std::endl;
}

template<typename T,typename... Args>
void my_print1(const T& val,Args&&... args)
{
    std::cout<<val<<" ";
    if(sizeof...(args)>0) my_print(std::forward<Args>(args)...);
    else my_print();
}

template<class... Args>
void my_print(Args&&... args)
{
    int arr[]={(std::cout<<args<<" ",0)...};
    std::cout<<std::endl;
}

int main()
{
    my_print("hello world","世界，你好");
    return 0;
}